<template>
	<div v-show="showPage">
		<div style="border-bottom: 1px solid #ddd;">
			<h3>基本信息</h3>
		</div>
		<el-row style="margin-top: 10px;">
			<el-col :span="8" class="field-label">编码</el-col>
			<el-col :span="16">
				<el-input v-model="code" size="mini"></el-input>
			</el-col>
		</el-row>
		<el-row style="margin-top: 10px;">
			<el-col :span="8" class="field-label">名称</el-col>
			<el-col :span="16">
				<el-input v-model="name" size="mini"></el-input>
			</el-col>
		</el-row>
		<el-row style="margin-top: 10px;">
			<el-col :span="8" class="field-label">描述</el-col>
			<el-col :span="16">
				<el-input v-model="description" size="mini" type="textarea"></el-input>
			</el-col>
		</el-row>
	</div>
</template>

<script>
	export default {
		name: "ReportBaseInfoPage",
		props: ["scope"],
		data() {
			return {
				showPage: false,
				code: "",
				name: "",
				description: "",
			}
		},
		methods: {
			setVisible(visible) {
				this.showPage = visible;
			},
			getReturnData() {
				return {
					"code": this.code,
					"name": this.name,
					"description": this.description
				};
			},
			getPreviousPage() {
				return "reportTypeSelectPage";
			},
			getNextPage() {
				return undefined;
			},
			isCompletedPage() {
				return true;
			}
		},
	}
</script>

<style>
</style>
